package signAction;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.ServletActionContext;

import signBean.Manager;
import com.opensymphony.xwork2.ActionContext;

public class WorkDeleteAction {
	
	public String ids;
     
	
	
	
	public String getIds() {
		return ids;
	}




	public void setIds(String ids) {
		this.ids = ids;
	}




	public String execute() throws SQLException{
		
		Manager naa=new Manager();
		
		 boolean ff=naa.updateId(getIds());
		 HttpServletRequest request = ServletActionContext.getRequest();
		 int fff=(Integer)request.getSession().getAttribute("id");
		 boolean aa=new Manager().updateView(getIds(),fff);
	     return "list";
			 
			 
	
		
	   

	   
	   
		
		
		
		
		
	

}
}